package com.meowcook.pojo.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel(value = "食材信息")
public class MaterialVO {

    @ApiModelProperty(value = "食材id")
    private Long id;

    @ApiModelProperty(value = "关联食谱id")
    private Long recipeId;

    @ApiModelProperty(value = "食材名称")
    private String name;

    @ApiModelProperty(value = "食材数量")
    private Short quantity;

    @ApiModelProperty(value = "数量单位: 1-g，2-kg，3-ml，4-L")
    private Byte unit;

    @ApiModelProperty(value = "食材类别: 1-主料，2-辅料，3-调料")
    private Byte category;
}